package com.balloon.logic;

/**
 *
 * @author all
 * a class to store the information of the sightspot
 */
public class Sightspot implements IBalloon {

    private String sightspotName;
    private String sightspotLink;
    private double locationX;
    private double locationY;
    private StringBuffer sightspotComments;
    private String sightspotDescription;
    private int sightspotRank;

    /**
     * Constructor
     * 
     * @param sightspotName
     * @param locationX
     * @param locationY
     * @param sightspotDescription
     */
    public Sightspot(String sightspotName, double locationX, double locationY, String sightspotDescription) {
        this.sightspotName = sightspotName;
        this.locationX = locationX;
        this.locationY = locationY;
        this.sightspotDescription = sightspotDescription;
    }

    /**
     * a class to get the name
     * @return sightspotName
     */
    public String getName() {
        return sightspotName;
    }

    /**
     * a class to get the rank of the sightspot
     * @return sightspotRank
     */
    public int getRank() {
        return sightspotRank;
    }

    /**
     * a class to get the comments of the sightspot
     * @return sightspotComments
     */
    public StringBuffer getComments() {
        return sightspotComments;
    }

    /**
     * a class to get the link of the sightspot
     * @return sightspotLink
     */
    public String getLink() {
        return sightspotLink;
    }

    /**
     * a class to get the parameter X of the location
     * @return locationX
     */
    public double getLocationX() {
        return locationX;
    }

    /**
     * a class to get the parameter Y of the location
     * @return locationY
     */
    public double getLocationY() {
        return locationY;
    }

    /**
     * a class to get the description of the sightspot
     * @return sightspotDescription
     */
    public String getDescription() {
        return sightspotDescription;
    }
}
